<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>资料详情-</title>
<link rel="stylesheet" type="text/css" href="css/css.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<style >
 	#button{
	border-radius:10px;
	margin-left: 10px;
	width: 100px;
	height: 30px;
	border: none;
	font-size: 16px;
	color: #fff;
	background-color: #47a4e1;
	}
	
	.td{
	font-size: 16px;
	border:none;
	text-align:left;
	width: 200px;
	}
	.t{
	margin-left:16px;
	font-size: 16px;
	border:none;
	text-align:left;
	width: 400px;
	} 
</style>
</head>
<body>
	<div id="pageAll">
		<div class="pageTop">
			<div class="page">
				<img src="img/coin02.png" /><span><a href="main.do">首页</a>&nbsp;-&nbsp;
				<a href="datainfo.do">资料库管理</a>&nbsp;-</span>&nbsp;资料详情
			</div>
		</div>
		<div class="page ">
			<!-- 上传广告页面样式 -->
			<div class="banneradd bor">
				<form action="datainfo.do" method="post">
					<div class="baTopNo">
						<span>基本信息</span>
						<hr>
					</div>
					<div class="baBody" >
						<table id="emptable"  style="border:none;margin:0px;padding:0px;line-height:40px">
							<tr class="bbD" >
								<td class="td">资料编号：</td><td class="t">${data.id }</td>	
							</tr>
							<tr class="bbD" >
								<td class="td">资料名称：</td><td class="t">${data.name }</td>	
							</tr>
							<tr class="bbD">
								<td class="td">资料分类：</td>
								<td class="t">
									<c:if test="${data.type==1}">培训</c:if>
									<c:if test="${data.type==2}">产品</c:if>
									<c:if test="${data.type==3}">FAQ</c:if>
								</td>
							</tr>
							<tr class="bbD">
								<td class="td">备注：</td><td class="t">${data.remark }</td>
							</tr>
							<tr class="bbD">
								<td class="td">发布人：</td><td class="t">${data.issuer }</td>
							</tr>
							<tr class="bbD">
								<td class="td">添加日期：</td><td class="t"><fmt:formatDate value="${data.begintime }" pattern="yyyy-MM-dd"/></td>
							</tr>
							<tr class="bbD">
								<td class="td">修改日期：</td><td class="t"><fmt:formatDate value="${data.updatetime }" pattern="yyyy-MM-dd"/></td>
							</tr>
							
								
							
						</table>
						<br>
						<button id="button" onclick="window.location.href='datainfo.do'" style="text-align:center;border:none">返回</button>
						<br><br>										
					</div>
				</form>		
			</div>

			<!-- 上传广告页面样式end -->
		</div>
	</div>
</body>
</html>